class BundlesPublications < ActiveRecord::Migration
  def self.up
    create_table :bundles_publications, {:id => false} do |t|
      t.references :bundle
      t.references :publication
    end
    add_index :bundles_publications, :bundle_id
    add_index :bundles_publications, :publication_id
    
  end

  def self.down
    drop_table :bundles_publications
  end

end
